/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

// 权限设置
const basics = {
  path: '/Basics',
  component: Layout,
  redirect: '/Basics/estate',
  meta: {
    title: '基础信息',
    icon: 'component',
    roles: [ // 可以不写, 跟下面对应上就行了 keepAlive: true //需要被缓存
      '基础信息', '区域信息'
    ]
  },
  children: [
    {
      path: 'estate',
      component: () => import('@/views/Basics/estate'),
      name: 'Estate',
      meta: { title: '区域信息', noCache: true, roles: ['区域信息'], keepAlive: true, isBack: false }
    }
  ]
}
export default basics
